<%@page contentType="text/html;charset=utf-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="js/jquery-3.4.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <title>新闻</title>
    <style>
    *{
		    font-size: 15px;
		  }
        .news{
            margin: 10px;
            font-size: 15px;
        }
        .navbar-default{
        font-size:18px;
      }
    </style>
</head>
<body>
 >
     <script >
     window.onload = function(){
        $.ajax({
	  	    type:"POST",
              url: "",//需要填入
              data:{news:news},
	            dataType:'json',
	            async:false,
	            success:function(data){
                for(var list in data){
                  var id = "new" list[id];
                  var father = document.getElementById("new1");
                  var title = father.getElementsByTagNam("h4");
                  var text = father.getElementsByTagNam("span");
                  var img = father.getElementsByTagNam("img")[0];
                  img.src = list[path];
                  title.innerHTML = list[title];
                  text.innerHTML = list[body];
                  i++;
                }
		            data = eval(data.root);//必须通过eval函数才能解析成json数据，否则会报错
	            }
	    });
     }
     }</script>
    <nav class="navbar navbar-default">
        <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header"> 
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#"><img src="../img/logo.jpg" style="height: 50px; width: 50px;border-radius: 15px;" alt=""></a>
          </div>
      
          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li><a href="home.jsp">首页</a></li>
              <li><a href="product.jsp">产品</a></li>
              <li><a href="cooperate.jsp">合作</a></li>
              <li class="active"><a href="news.jsp">资讯 <span class="sr-only">(current)</span></a></li>
              <li><a href="#">留言</a></li>
              <li><a href="#">关于我们</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
              <li><a href="shoping.jsp">商城</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">会员登录 <span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a href="../login/login.jsp">登录</a></li>
                  <li><a href="regist.jsp">注册</a></li>
                </ul>
              </li>
            </ul>
          </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
      </nav>
      
      <img class="media-object" src="../img/new2.jpg" alt="..."  width="800px" height="600px">
                  
    </div>
    <div class="media-body" >
      <h4 class="media-heading">AMD一代锐龙处理器升级12nm工艺：高频更稳</h4>
      <span>管基于7nm Zen2架构的第三代锐龙处理器已成为市售主力，但实际上价格跌幅感人的一、二代锐龙依然颇有销路。有趣的是，用户发现，原型号YD1600BBAE的锐龙5 1600处理器悄然被更替为YD1600BBAF，经CPU-Z、HWinfo等硬件检测工具识别，AF版新处理器居然升级为了12nm工艺。新工艺不仅带来了更低的功耗和发热，性能稳定性也进一步提高。Reddit上有用户测试称，老芯片在任何负载下，即便是只开了单核和双核，频率也会很容易掉到3.4GHz，而新芯片可以在3.7GHz上“苟”更久，也就是比2600仅仅低了200MHz。稍稍需要注意的是，AMD为AF处理器附赠的是Wraith Stealth散热器，而非Wraith Spire。至于AMD为何悄悄做出这种调整还不得而知，有猜测是1600的需求超过了2600，也有猜测是GF出于某种原因关闭了14nm产线。</span>
      <span>2019-12-20</span>
    </div>
                
      </div>
      
</body>
</html>